Description | Example | Return Message | Group(s)

SCHED: StoreFile

Format

SCHED / StoreFile <FileName> <FileContents>

Description

The SCHED StoreFile Connect command takes a string of base64 encoded data and stores it locally. This is a convenience command which is usually followed by the STKWithStoredFile command using the stored file.

Parameters

  • FileName: The parameter is a string of text that will be the name of the stored file.
  • FileContents: The parameter is a base64 encoded string of data that will be saved to the file.

Example

To save a base 64 encoded AEM file as a text file with a file-name "test.aem":

SCHED / StoreFile test.aem c3RrLnYuOC4wLjANCkJFR0lOIEF6RWxNYXNrDQpOdW1iZXJPZlBvaW50cyAyDQpCRUdJTiBBekVsTWFza0RhdGENCjAgMQ0KMzYwIDENCkVORCBBekVsTWFzaw==

SyntaxExample
<CommandName>SCHED / StoreFile
<FileName>test.aem
<FileContents>c3RrLnYuOC4wLjANCkJFR0lOIEF6RWxNYXNrDQpOdW1iZXJPZlBvaW50cyAyDQpCRUdJTiBBekVsTWFza0RhdGENCjAgMQ0KMzYwIDENCkVORCBBekVsTWFzaw==

Return Message

If activated, Connect returns an acknowledgment message.

Group Membership

This command belongs to the following group(s):

Scheduler

Version

11.4